<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title><% model(2); %></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="style.css" />
<script type="text/javascript" src="jquery.min.js"></script>
<script type="text/javascript" src="config.js"></script>
<script type="text/javascript" src="general.js"></script>
<script type="text/javascript">
	$(document).ready(function() {
		load_body();
	});
</script>
</head>
<body>
<form method="get" name="form" id="form" action="apply.cgi">
<input type="hidden" name="current_page" value="webcam.asp" />
<input type="hidden" name="next_page" value="saverestart.asp" />
<input type="hidden" name="next_host" value="" />
<input type="hidden" name="group_id" value="" />
<input type="hidden" name="modified" value="0" />
<input type="hidden" name="action_mode" value="" />
<input type="hidden" name="first_time" value="" />
<input type="hidden" name="action_script" value="" />
<input type="hidden" name="usb_webhttpcheck_x" value="<% nvram_get("usb_webhttpcheck_x"); %>" />

<table class="main">
<thead>
<tr>
<td>USB Application - Web Camera</td>
</tr>
</thead>

<tr><td>
<table class="sect">
<tr>
<th>Enable Web Camera?
           </th><td><select name="usb_webenable_x" class="content_input_fd" onChange="return change_common(this, 'PrinterStatus', 'usb_webenable_x')"><option class="content_input_fd" value="0" <% nvram_match("usb_webenable_x", "0","selected"); %>>Disabled</option><option class="content_input_fd" value="1" <% nvram_match("usb_webenable_x", "1","selected"); %>>LAN Only</option><option class="content_input_fd" value="2" <% nvram_match("usb_webenable_x", "2","selected"); %>>LAN and WAN</option></select></td>
</tr>
<tr>
<th title="This field indicates the format of image.">Image Format:
           </th><td><select name="usb_webformat_x" class="content_input_fd" onChange="return change_common(this, 'PrinterStatus', 'usb_webformat_x')"><option class="content_input_fd" value="0" <% nvram_match("usb_webformat_x", "0","selected"); %>>MJPEG</option><option class="content_input_fd" value="1" <% nvram_match("usb_webformat_x", "1","selected"); %>>YUV</option></select></td>
</tr>
<tr>
<th title="This field indicates the size of image.">Image Size:
           </th><td><select name="usb_webimage_x" class="content_input_fd" onChange="return change_common(this, 'PrinterStatus', 'usb_webimage_x')"><option class="content_input_fd" value="8" <% nvram_match("usb_webimage_x", "8","selected"); %>>1920 X 1080 HD</option><option class="content_input_fd" value="7" <% nvram_match("usb_webimage_x", "7","selected"); %>>1280 X 720 HD</option><option class="content_input_fd" value="6" <% nvram_match("usb_webimage_x", "6","selected"); %>>1600 X 1200</option><option class="content_input_fd" value="5" <% nvram_match("usb_webimage_x", "5","selected"); %>>1280 X 1024</option><option class="content_input_fd" value="4" <% nvram_match("usb_webimage_x", "4","selected"); %>>1024 X 768</option><option class="content_input_fd" value="3" <% nvram_match("usb_webimage_x", "3","selected"); %>>800 X 600</option><option class="content_input_fd" value="2" <% nvram_match("usb_webimage_x", "2","selected"); %>>640 X 480</option><option class="content_input_fd" value="1" <% nvram_match("usb_webimage_x", "1","selected"); %>>320 X 240</option><option class="content_input_fd" value="0" <% nvram_match("usb_webimage_x", "0","selected"); %>>160 X 120</option></select><a href="javascript:openLink('x_WImageStatic')" class="content_input_link" name="x_WImageStatic_link">Preview
             </a></td>
</tr>
<tr>
<!--<th title="This field indicates the sense level that image movement will be detected.">Sense Level:
           </th><td><select name="usb_websense_x" class="content_input_fd" onChange="return change_common(this, 'PrinterStatus', 'usb_websense_x')"><option class="content_input_fd" value="0" <% nvram_match("usb_websense_x", "0","selected"); %>>Low</option><option class="content_input_fd" value="1" <% nvram_match("usb_websense_x", "1","selected"); %>>Medium</option><option class="content_input_fd" value="2" <% nvram_match("usb_websense_x", "2","selected"); %>>High</option></select></td>-->
</tr>
<tr>
<th title="This field indicates the image refresh rate per second. The range of value is 1~30.">Frames Per Second:
           </th><td><input type="text" maxlength="5" size="5" name="usb_webfresh_x" class="content_input_fd" value="<% nvram_get("usb_webfresh_x"); %>" onBlur="validate_range(this, 1, 30)" onKeyPress="return is_number(event, this)" /></td>
</tr>
<tr>
<th title="This field indicates the JPEG compression quality in percent. The range of value is 1~100.">JPEG compression quality:
           </th><td><input type="text" maxlength="5" size="5" name="usb_webquality_x" class="content_input_fd" value="<% nvram_get("usb_webquality_x"); %>" onBlur="validate_range(this, 1, 100)" onKeyPress="return is_number(event, this)" /></td>
</tr>
<tr>
<th title="This field indicates the port that http server listens on to communicate.">HTTP Port:
           </th><td><input type="text" maxlength="5" size="5" name="usb_webhttpport_x" class="content_input_fd" value="<% nvram_get("usb_webhttpport_x"); %>" onBlur="validate_range(this, 1024, 65535)" onKeyPress="return is_number(event, this)" /><input type="checkbox" style="margin-left:30" name="usb_webhttpport_x_check" value="" onClick="return change_common_radio(this, 'PrinterStatus', 'usb_webhttpport_x', '1')" />Password Checking</td>
</tr>
<tr>
<th>User Name:</th>
<td><input type="text" maxlength="32" class="content_input_fd" size="16" name="usb_webhttp_username" value="<% nvram_get("usb_webhttp_username"); %>" onkeypress="return is_string(event, this)" onblur="validate_string(this)" /></td>
</tr>
<tr>
<th>Password:</th>
<td><input type="password" maxlength="32" class="content_input_fd" size="16" name="usb_webhttp_passwd" value="<% nvram_get("usb_webhttp_passwd"); %>" onblur="validate_string(this)" /></td>
</tr>
</table>
</td></tr>

</table>

<% include("footer_buttons.inc"); %>

</form>
</body>
</html>
